package gewu.suleju.dao.iml;
import gewu.suleju.model.pojo.HousePic;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface IHousePicDao extends JpaRepository<HousePic,Integer> {
    List<HousePic> findHousePicsByHouseInforId(Integer id);
    List<HousePic> findByHouseInforIdAndIsStatus(Integer houseInforId, Integer isStatus);
}